Skip to content

Conversation

danmoseley
Copy link
Member

@danmoseley danmoseley commented Apr 26, 2025

Fix #8764
Fix #8681

  • Remove 8.2 and 9.1 and add 9.3
  • Change 9.2 to use concrete versions now it's shipped
  • Rename app host Program.cs to AppHost.cs, update readmes, update test assumptions.
  • Make 9.3 default.

Easiest to look at commits

Tested by creating and building every combination. https://gist.github.com/danmoseley/251d8c506c1c64695fc11ae17d85269b

@danmoseley danmoseley added this to the 9.3 milestone Apr 28, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the usage examples in various README files to reflect the renaming of the host file from Program.cs to AppHost.cs, ensuring that the documentation is aligned with the new template changes for version 9.3.

  • Remove outdated references to Program.cs
  • Update usage examples across multiple hosting packages
  • Clarify instructions in the README files for the new AppHost.cs

Reviewed Changes

Copilot reviewed 349 out of 349 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Aspire.Hosting.Kafka/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Garnet/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Docker/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.WebPubSub/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.Storage/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.Sql/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.SignalR/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.ServiceBus/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.Search/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.Redis/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.PostgreSQL/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.OperationalInsights/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.Functions/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.EventHubs/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.CosmosDB/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.CognitiveServices/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.ApplicationInsights/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.Azure.AppConfiguration/README.md Updated instruction to reference AppHost.cs instead of Program.cs
src/Aspire.Hosting.AppHost/README.md Updated instruction to reference AppHost.cs instead of Program.cs

@danmoseley danmoseley merged commit 9c81650 into dotnet:main Apr 29, 2025
174 checks passed
@danmoseley danmoseley deleted the templateupdates1 branch April 29, 2025 15:36
@github-actions github-actions bot locked and limited conversation to collaborators May 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Templates should support 9.2 and 9.3, not anything older now Rename Program.cs to AppHost.cs in app host project templates
2 participants